<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div{
				background-color:#333 ;
				height: 50px;
			}
			*{
				margin:0;/*外边距*/
				padding: 0;/*内边距*/
			}
			ul:nth-child(1)>li{
				float: left;/*靠左*/
			}
			ul:nth-child(2)>li{
				float: right;
			}
			li{
				list-style-type: none;/*前面的清单*/
				color: white;
				width:80px;
				line-height: 50px;/*让其在导航栏中垂直居中*/
				text-align: center;/*水平居中*/
			}
		</style>
	</head>
	<body>
		<div id="">
			<ul>
				<li>小米官网</li>
				<li>小米商城</li>
				<li>小米澎湃</li>
			</ul>
			<ul>
				<li>登录</li>;
				<li>注册</li>
				<li>消息通知</li>
			</ul>
		</div>
	</body>
</html>
